export function shadow() {
    document.addEventListener('mousemove', (e) => {
        const ele = document.querySelectorAll('.homePage ul>li');
        ele.forEach((item, index) => {
            const X = (e.clientX - item.offsetLeft - item.clientWidth / 2) / (window.innerWidth / 22);
            const Y = (e.clientY - item.offsetTop - item.clientHeight / 2) / (window.innerHeight / 22);
            // item.style['transition'] = '0s';
            item.style['box-shadow'] = `${-X}px ${-Y}px 11px #cecece, ${X}px ${Y}px 21px #f2f2f2`;
        });
    });
};